package com.heima.media.service;

import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.WmUserDto;
import com.heima.media.entity.WmUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 自媒体用户信息表 服务类
 * </p>
 *
 * @author SpaceTraveller
 * @since 2022-11-07
 */
public interface IWmUserService extends IService<WmUser> {

    ResponseResult<WmUser> insertWmUser(WmUser user);

    ResponseResult<WmUser> updateWmUser(WmUser user);

    ResponseResult<Map<String, Object>> wmUserDtoLogin(WmUserDto dto);
}
